package review;

public class Dog extends Animal {
	public Dog(String name, int age) {
		super(name, age);
	}

	@Override
	public void makeSound() {
		super.makeSound(); // 调用父类中被重写的方法
		System.out.println(super.getName());
		//System.out.println("woof!");
	}
}
